﻿<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/Master_Page/Master_Popup.Master" CodeBehind="New_ServicePopup.aspx.vb" Inherits="I_PORT.New_ServicePopup" 
    title="IRPC INTELLIGENT PORT SERVICE" %>
 <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script type="text/javascript" language="javascript" >
        function checkNumber(e)
{
var keycode;

if (window.event) keycode = window.event.keyCode; // ใช้ IE อ่ะ

else if (e) keycode = e.which; // ใช้ Firefox เน่าะ

 if (((keycode > 47) && (keycode < 58))||(keycode == 190)||(keycode == 46))
 {
 return true;
 }
return false;
}
</script>
<asp:UpdatePanel ID="UpdatePanelProduct" runat="server" UpdateMode="Conditional">
                    <ContentTemplate>
                       <table width="100%" border="0" cellpadding="2" cellspacing="0">
                       <tr>
                 <td style="width:220px;" valign="top" align="right"><asp:Label ID="labeWater" runat="server" SkinID="lbtxt" Text="Request Water :" ></asp:Label>&nbsp;</td>
                 <td align="left" valign="bottom">
                      <asp:TextBox ID="txtWater" runat="server" MaxLength="10" Width="35px" Text="0" onkeypress="return checkNumber(this);" ></asp:TextBox>&nbsp;<asp:Label ID="LabelWater" runat="server" SkinID="lbtxt" Text="TON" ></asp:Label>
                  </td>
                  </tr>
                  <tr>
                       <td style="width:220px;" align="right"><asp:Label ID="Label47" runat="server" SkinID="lbtxt" Text="Request Tug :"></asp:Label>&nbsp;</td>
                         <td align="left">
                             <asp:TextBox ID="txtTug" Width="35px" runat="server" Text="0" MaxLength="10" onkeypress="return checkNumber(this);" ></asp:TextBox>&nbsp;<asp:Label ID="Label53" runat="server" SkinID="lbtxt" Text="ลำ" ></asp:Label>
                         </td>
                   </tr>
                  <tr>
                       <td style="width:220px;" align="right" valign="top" ><asp:Label ID="Label1" runat="server" SkinID="lbtxt" Text="Remark :"></asp:Label>&nbsp;</td>
                         <td align="left" valign="top">
                             <asp:TextBox ID="txtRemark" runat="server" MaxLength="500" TextMode="MultiLine" Height="60px" Width="85%" ></asp:TextBox>
                         </td>
                      </tr>
                       <tr>
                 <td style="width:220px;" valign="top" align="right">&nbsp;</td>
                 <td align="left" valign="bottom">
                    <asp:Button ID="btnSave" runat="server" Text="ADD" CssClass="ButtonStyle" />
                    <asp:Button ID="btnClose" runat="server" Text="CLOSE" CssClass="ButtonStyle" />
                  </td>
                 </tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
</asp:Content>